package com.vcaresolution.logistic.service;

import java.io.Serializable;
import java.util.List;

import com.vcaresolution.logistic.form.CompanyForm;
import com.vcaresolution.logistic.to.BranchTO;
import com.vcaresolution.logistic.to.CompanyTO;
import com.vcaresolution.logistic.to.DataHolderTO;



/**
 * <code>CompanyService</code> is used to track all basic operations like add, update, delete, list and getByPk
 * 
 * @author Snehal Shah
 * @version 1.0
 * @since ShipSoft 1.0
 */

public interface CompanyService {

	public void add(CompanyForm object);
	public void update(CompanyForm object);
	public void delete(CompanyForm object);
	public CompanyTO findById(Serializable companyID);
	public List<CompanyTO> findByAll();
	
	public <T> List<T> getAssociatedBranchList(Serializable companyId,Class<T> returnType);
	
//	public List<BranchTO> getAssociatedBranchList(Serializable companyId);
	
}
